import UIKit
import Flutter
//import FBSDKCoreKit
// import ZZBase
//import FirebaseCore

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {

//      FirebaseApp.configure()
      GeneratedPluginRegistrant.register(with: self)
      HCVNChannelManager.registerChannel(window: window)
      HCVNConnectManager.share.initVPN()

//      Settings.shared.isAutoLogAppEventsEnabled = true
//      ApplicationDelegate.shared.initializeSDK()
//
//      AppLinkUtility.fetchDeferredAppLink { url , error in
//          ZZLog("facebook app link \(url?.absoluteString ?? "null")")
//          HVVNGlobal.fbDeepURL = url
//      }
//
//      ApplicationDelegate.shared.application(
//        application,
//        didFinishLaunchingWithOptions: launchOptions
//      )

    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}
